//
//  HideAndSeekTapScene.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/7/13.
//
//

#ifndef CanYouDoIt_HideAndSeekTapScene_h
#define CanYouDoIt_HideAndSeekTapScene_h

#include "cocos2d.h"
using namespace cocos2d;
#include "CountDownGameScene.h"
#include <time.h>
class HideAndSeekTapScene:public CountDownGameScene{
public:
    CCArray* buttonArray;
    CCRect lastButtonRect;
    void createRandomButtonOnScreen();
    void createRandomButtonsOnStart(int numberOfButtons);
    static CCScene* scene(int numberOfSeconds);
    static HideAndSeekTapScene* create(int numberOfSeconds);
    void onTapButton(CCObject* sender);
    void onFinishMinimize(CCObject* sender);
    virtual void startGame();
    virtual void reset();
    virtual void ccTouchesBegan(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesMoved(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesEnded(CCSet* touches, CCEvent* pEvent);
    virtual bool init();
    CREATE_FUNC(HideAndSeekTapScene);
};

#endif
